Use a scratch GC in the case where the background is a solid color.
authorSoeren Sandmann <sandmann@daimi.au.dk>
Wed, 18 Feb 2004 17:03:46 +0000 (17:03 +0000)
committerSøren Sandmann Pedersen <ssp@src.gnome.org>
Wed, 18 Feb 2004 17:03:46 +0000 (17:03 +0000)
commitb69a67119cbd32b647ac180932b2ab90f5cf9d13
tree23287b48ee170770955d9d925f76d8364156172f
parentf539d993341bfc657eab7aa760c82d2290d42e60
Use a scratch GC in the case where the background is a solid color.

Wed Feb 18 17:53:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/gdkwindow.c (gdk_window_get_bg_gc): Use a scratch GC in the
case where the background is a solid color.
(gdk_window_clear_backing_rect): Reset the clip region after use.

* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Go
back to using a scratch GC. Pointed out by Owen Taylor

* gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Only use a
scratch GC if the passed-in one is NULL
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkdraw.c
gdk/gdkpixbuf-render.c
gdk/gdkwindow.c